import createSSE from "./src/connect";

const sse = createSSE(
  (event) => {
    console.log(event.data);
  },
  (error) => {
    console.error(error);
  }
);
sse("http://localhost/v1", { Authorization: `Bearer ${API_KEY}` });
